#include <sstream>
#include "org/rule.h"
#include "org/ruleio.h"
#include "org/organiser.h"
#include "org/debug.h"
#include "frmrule.h"

using namespace Org;

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include <QModelIndex>
#include <QFileDialog>


namespace Ui
{
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void tblPopulateRules(const vector<Rule>);

public slots:
    void runRules();
    void newRule();
    void tblRulesClicked_showRule(QModelIndex);
    void btnIncomingDir_clicked();
    void btnExecute_clicked();

private:
    Ui::MainWindow *ui;

};

#endif // MAINWINDOW_H
